package org.asiainfo.file.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * minio 配置类
 *
 * @author dotor-ww
 */
@Configuration
@ConfigurationProperties(prefix = "minio")
@RefreshScope
@Data
public class MinioProperties {

    /**
     * 服务地址
     */
    private String endpoint;

    /**
     * 访问密钥
     */
    private String accessKey;

    /**
     * 安全密钥
     */
    private String secretKey;

    /**
     * 存储桶名称
     */
    private String bucketName;
}
